import request from '@/utils/request'
import ApiUrl from '../api-url/common-api.js'
export function unit(id) {
  return request({
    url: ApiUrl.common.unit + `/${id}/sub`,
    method: 'get'
  })
}

export function sysAll() {
  return request({
    url: ApiUrl.common.sysAll,
    method: 'get'
  })
}
export default{
  unit, sysAll
}
